package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.WbPowerCircle;
import org.dromara.system.domain.XcxFootprint;
import org.dromara.system.domain.dto.NumDTO;
import org.dromara.system.domain.vo.WbPowerCircleVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.vo.XcxFootprintVo;

import java.util.List;

/**
 * 电力圈Mapper接口
 *
 * @author Lion Li
 * @date 2024-05-07
 */
public interface WbPowerCircleMapper extends BaseMapperPlus<WbPowerCircle, WbPowerCircleVo> {

    /**
     * 自定义分页查询
     * @param build
     * @param lqw
     * @return
     */
    Page<WbPowerCircleVo> selectVoPageWithProvince(@Param("page") Page<Object> build, @Param(Constants.WRAPPER) LambdaQueryWrapper<WbPowerCircle> lqw);



    /**
     * 自定义分页查询
     * @param build
     * @param
     * @return
     */
    Page<WbPowerCircleVo> selectVoPageWithProvinceZYT(@Param("page") Page<Object> build,Long userId);

    List<NumDTO> selectCountNum();
}
